<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/6/26
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>发布文章</title>
</head>
<body>

<div>
    <form action="/user/publishPost" method="get">
        <span>标题</span>
        <input type="text" name="title">
        <br>
        <br>
        <span>内容</span>
        <textarea name="text" cols="20" rows="5"></textarea>
        <br>
        <span>类别</span>
        <select name="category_id">
            <option value="1">java</option>
            <option value="2">Spring</option>
            <option value="3">SpringBoot</option>
            <option value="4">前端</option>
            <option value="5">Python</option>
        </select>
        <br>
        <input type="submit" value="发布">
    </form>
</div>
<div>
    <a href="/userInfo.jsp">返回个人中心</a>
</div>


</body>
</html>
